I'm thinking that because the air filter is dirty the air passages are somewhat restricted. Pulling the air through restricted passages must require somewhat more work then does pulling air through unrestricted passages. More work = more energy consumed = lower (possibly negligibly so) mpg.